-- GENERATED SPELL FOR [Mariner Everwatch] --


function spell0_25023(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25023', 5267, 1)
end

function Sorts_25023(pUnit, Event)
local choix_sorts_25023 = math.random(0, 0)
if choix_sorts_25023 == 0 then
pUnit:RegisterEvent('spell0_25023', 1, 1)
end
end

function mob25023_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25023', math.random(1500, 3000), 1)
end

function mob25023_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25023_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25023_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25023, 1, 'mob25023_Action')
RegisterUnitEvent(25023, 2, 'mob25023_Leave')
RegisterUnitEvent(25023, 3, 'mob25023_Kill')
RegisterUnitEvent(25023, 4, 'mob25023_Die')
